// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PROD_WORKING_REPORT
// * CreateDate    : 2011-10-30 16:11:04
// * Creater       : CodeSmith
// * LastChangeDate: 2011-10-30 16:11:04
// * LastChanger   : 2011-10-30 16:11:04
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
    [Serializable]
    public partial class ProdWorkingReportTable : TableInfo
    {
        public const string C_TableName = "PROD_WORKING_REPORT";

        public const string C_REPORT_ID = "REPORT_ID";
        public const string C_PRODUCT_TECHNIC_ID = "PRODUCT_TECHNIC_ID";
        public const string C_REPORT_PERSON = "REPORT_PERSON";
        public const string C_REPORT_DATE = "REPORT_DATE";
        public const string C_START_DATE = "START_DATE";
        public const string C_FINISH_DATE = "FINISH_DATE";
        public const string C_REPORT_QTY = "REPORT_QTY";
        public const string C_ACTUAL_SIZE = "ACTUAL_SIZE";
        public const string C_STANDARD_SIZE = "STANDARD_SIZE";
        public const string C_CHECK_SIZE = "CHECK_SIZE";
        public const string C_CREATE_DATE = "CREATE_DATE";
        public const string C_CREATE_BY = "CREATE_BY";
        public const string C_STATUS = "STATUS";
        public const string C_REMARK = "REMARK";

        public ProdWorkingReportTable()
        {
            _tableName = "PROD_WORKING_REPORT";
        }

        protected static ProdWorkingReportTable _current;
        public static ProdWorkingReportTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }

        private static void Initial()
        {
            _current = new ProdWorkingReportTable();

            _current.Add(C_REPORT_ID, new ColumnInfo(C_REPORT_ID, "ReportId", true, typeof(string)));
            _current.Add(C_PRODUCT_TECHNIC_ID, new ColumnInfo(C_PRODUCT_TECHNIC_ID, "ProductTechnicId", false, typeof(string)));
            _current.Add(C_REPORT_PERSON, new ColumnInfo(C_REPORT_PERSON, "ReportPerson", false, typeof(string)));
            _current.Add(C_REPORT_DATE, new ColumnInfo(C_REPORT_DATE, "ReportDate", false, typeof(DateTime)));
            _current.Add(C_START_DATE, new ColumnInfo(C_START_DATE, "StartDate", false, typeof(DateTime)));
            _current.Add(C_FINISH_DATE, new ColumnInfo(C_FINISH_DATE, "FinishDate", false, typeof(DateTime)));
            _current.Add(C_REPORT_QTY, new ColumnInfo(C_REPORT_QTY, "ReportQty", false, typeof(decimal)));
            _current.Add(C_ACTUAL_SIZE, new ColumnInfo(C_ACTUAL_SIZE, "ActualSize", false, typeof(decimal)));
            _current.Add(C_STANDARD_SIZE, new ColumnInfo(C_STANDARD_SIZE, "StandardSize", false, typeof(decimal)));
            _current.Add(C_CHECK_SIZE, new ColumnInfo(C_CHECK_SIZE, "CheckSize", false, typeof(decimal)));
            _current.Add(C_CREATE_DATE, new ColumnInfo(C_CREATE_DATE, "CreateDate", false, typeof(DateTime)));
            _current.Add(C_CREATE_BY, new ColumnInfo(C_CREATE_BY, "CreateBy", false, typeof(string)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS, "Status", false, typeof(string)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK, "Remark", false, typeof(string)));

        }

        public ColumnInfo REPORT_ID
        {
            get { return this[C_REPORT_ID]; }
        }

        public ColumnInfo PRODUCT_TECHNIC_ID
        {
            get { return this[C_PRODUCT_TECHNIC_ID]; }
        }

        public ColumnInfo REPORT_PERSON
        {
            get { return this[C_REPORT_PERSON]; }
        }

        public ColumnInfo REPORT_DATE
        {
            get { return this[C_REPORT_DATE]; }
        }

        public ColumnInfo START_DATE
        {
            get { return this[C_START_DATE]; }
        }

        public ColumnInfo FINISH_DATE
        {
            get { return this[C_FINISH_DATE]; }
        }

        public ColumnInfo REPORT_QTY
        {
            get { return this[C_REPORT_QTY]; }
        }

        public ColumnInfo ACTUAL_SIZE
        {
            get { return this[C_ACTUAL_SIZE]; }
        }

        public ColumnInfo STANDARD_SIZE
        {
            get { return this[C_STANDARD_SIZE]; }
        }

        public ColumnInfo CHECK_SIZE
        {
            get { return this[C_CHECK_SIZE]; }
        }

        public ColumnInfo CREATE_DATE
        {
            get { return this[C_CREATE_DATE]; }
        }

        public ColumnInfo CREATE_BY
        {
            get { return this[C_CREATE_BY]; }
        }

        public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }

        public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }



    }
}

